package com.jianguo.order.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianguo.common.core.domain.BaseEntity;
import com.jianguo.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * 群组对象 pz_group
 *
 * @author xjj
 * @date 2024-04-23
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PzGroup extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /** 群组名字 */
    @Excel(name = "群组名字")
    private String name;
    /** 订单id */
    @Excel(name = "订单id")
    private String orderId;
    /**  */
    @Excel(name = "")
    private Long status;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("orderId", getOrderId())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("deleted", getDeleted())
                .append("remark", getRemark())
                .toString();
    }
}
